export const catchErrorMsg = (res: any) => {
  // console.log(res);
  return (res?.error?.networkError as any)?.result?.errors[0].message;
};
